﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Jabr.Logic.Roster
{
    public class GenericMessage
    {
        private GenericMessageType m_type;
        private string m_from;
        private string m_subject;
        private string m_body;

        public GenericMessage()
        {
            this.m_type = GenericMessageType.OTHER;
        }

        public GenericMessage(GenericMessageType type)
        {
            this.m_type = type;
        }

        public GenericMessageType Type
        {
            get
            {
                return m_type;
            }
            set
            {
                m_type = value;
            }
        }
        public string Subject
        {
            get
            {
                return this.m_subject;
            }
            set
            {
                this.m_subject = value;
            }
        }
        public string Body
        {
            get
            {
                return this.m_body;
            }
            set
            {
                this.m_body = value;
            }
        }
        public string From
        {
            get
            {
                return this.m_from;
            }
            set
            {
                this.m_from = value;
            }
        }
    }
}
